/*
* $Id: ViewJournal.h 7 2010-01-04 16:22:07Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _VIEW_JOURNAL_H_
#define _VIEW_JOURNAL_H_

#include "Visual/Wnd.h"
#include "State.h"

interface IViewJournal : public CWndImpl{
	virtual void CreateView() = 0;
	virtual void DestroyView() = 0;
	virtual void SetState() = 0;
	virtual bool IsViewState(State state) = 0;
};

class CEmptyViewJournal : public CWnd, public IViewJournal
{
protected:
	CState* m_pState;
	virtual void Init();
protected:
	DECLARE_MESSAGE_MAP();
	afx_msg void OnPaint();
public:
	CEmptyViewJournal(CState* pState);
	virtual ~CEmptyViewJournal();
public:
	virtual void SetState();
	virtual void CreateView();
	virtual void DestroyView();
	virtual bool IsViewState(State state);
};

#endif/*_VIEW_JOURNAL_H_*/